<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="public/style/public.css" />
<link rel="stylesheet" type="text/css" href="public/style/publish.css" />
</head>
<body>
	<div class="header_wrap">
		<div id="header" class="auto">
			<div class="logo">小杰论坛</div>
			<div class="nav">
				<a class="hover">首页</a>
			</div>
			<div class="serarch">
				<form>
					<input class="keyword" type="text" name="keyword" placeholder="搜索其实很简单" />
					<input class="submit" type="submit" name="submit" value="" />
				</form>
			</div>
			<?php if(empty($_SESSION['pro_username'])){  ?>
			<div class="login">
				<a href="login.php">登录</a>&nbsp;
				<a href="register.php">注册</a>
			</div>
			<?php }else{ ?>
			<a id="logout" style="color:#a25454;position: absolute;right: 50px;top: 0px;cursor: pointer;" >退出登录</a>
			<span style="float: right;color: #105cb6;">欢迎回来: <a style="color: white;cursor: pointer;"><?php echo $_SESSION['pro_username']; ?></a></span>


			<?php    }  ?>
		</div>
	</div>
	<div style="margin-top:55px;"></div>
	<div id="position" class="auto">
		 <a href="index.php">首页</a> &gt; <a>NBA</a> &gt; <a>CBA</a> &gt;
	</div>
	<div id="publish">
		<div>回复：由 <?php echo $datalouzhu['username']; ?> 发布的 <?php echo $datalouzhu['title'];?></div>
		<form method="post" action="reply_deal.php">
			<textarea name="content" class="content"></textarea>
			<input type="hidden" name="nid" value="<?php echo $id; ?>">
			<input class="reply" type="submit" name="submit" value="" />
			<div style="clear:both;"></div>
		</form>
	</div>
	<div id="footer" class="auto">
		<div class="bottom">
			<a>传智播客</a>
		</div>
		<div class="copyright">Powered by itcast ©2015 itcast.cn</div>
	</div>
</body>
</html>